package com.guoheng.safe.sys.mapper.basicinfo;

import com.guoheng.safe.sys.model.basicinfo.PromiseData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
@Mapper
public interface PromiseDataMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PromiseData record);

    int insertSelective(PromiseData record);

    PromiseData selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PromiseData record);

    int updateByPrimaryKey(PromiseData record);

    List<PromiseData> selectAll();

    int countPromiseNumByDate(@Param("date") Date date);
}